package com.example.hms.Dao;

import com.example.hms.entity.Room;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoomDao {
    int insert(Room room);
    int update(Room room);
    List<Room> selectAll(@Param("roomNumber") String roomNumber,
                         @Param("roomTypeName") String roomTypeName,
                         @Param("roomId") String roomId);


}
